/** NurseModel */
package server.service.nurse;

import java.util.List;

import domain.nurse.Nurse;

/**
 * talks to the NurseDao and the panels
 * @author jessienewman
 * @version $Revision: 1.0 $
 */
public class NurseModel {
	/**
	 * Field dao.
	 */
	private NurseDao dao;
	
	/**
	 * Constructor for NurseModel.
	 */
	public NurseModel() {
		dao = new NurseDao();
	}
	
	/**
	 * Method getAllNurses.
	
	 * @return Nurse[] */
	public List<Nurse> getAllNurses() {
		return dao.getAllNurses();
	}
	
	/**
	 * super's toString
	
	 * @return super's toString */
	public String toString() {
		return super.toString();
	}
}
